home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global lastOver
- if rollOver(4) then
- if lastOver <> 4 then
- eggNoise(4)
- set lastOver to 4
- end if
- else
- if rollOver(5) then
- if lastOver <> 5 then
- eggNoise(5)
- set lastOver to 5
- end if
- else
- if rollOver(6) then
- if lastOver <> 6 then
- eggNoise(6)
- set lastOver to 6
- end if
- else
- if rollOver(7) then
- if lastOver <> 7 then
- eggNoise(7)
- set lastOver to 7
- end if
- else
- puppetSound(0)
- set lastOver to 0
- repeat with k = 10 to 13
- set the visible of sprite k to 0
- end repeat
- end if
- end if
- end if
- end if
- go(the frame)
- end
-
- on eggNoise eggNum
- repeat with k = 10 to 13
- set the visible of sprite k to 0
- end repeat
- set the visible of sprite (eggNum + 6) to 1
- if eggNum = 3 then
- set eggNum to 4
- end if
- puppetSound("egg" & eggNum)
- updateStage()
- end
-
- on mouseUp
- global follow, snap, lastClickOn, homeV, homeH, snapH, snapV
- if the clickOn <> 3 then
- set the visible of sprite (lastClickOn - 6) to 1
- set the visible of sprite lastClickOn to 0
- set the locH of sprite lastClickOn to homeH
- set the locV of sprite lastClickOn to homeV
- puppetSound("swiper.s")
- updateStage()
- wait(20)
- end if
- go(the frame)
- end
-